<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>欢迎来到淘宝</title>
		<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
		<script src="JS/jquery-1.11.3.min.js" type="text/javascript"></script>
		<script src="JS/bootstrap.min.js" type="text/javascript"></script>
		<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
	</head>
	
	<script type="text/javascript">
	$(function(){
		$("#cart").click(function(){
		})
	})
	
	$(function(){
		$("#order").click(function(){
		})
	})
	</script>

	<body>
		<div class="container-fluid">

			<!--
            	
            	描述：菜单栏
            -->
			<div class="container-fluid">
				<div class="col-md-4">
					
				</div>
				<div class="col-md-5">
					<img src="img/header.png" />
				</div>
				<div class="col-md-3" style="padding-top:20px">
					<%@ include file="jhtop.jsp" %>   <!-- 顶部动态字 -->
				</div>
			</div>
			<!--
            	
            	描述：导航条
            -->
			<%@ include file="/jhtop1.jsp" %>   <!-- 商品类型显示和搜索框 -->
			<div class="row" style="width:1210px;margin:0 auto;">
			

			<c:forEach items="${type }" var = "n">
			
                <div class="col-md-2">
				<a href="${pageContext.request.contextPath }/ShowDetailsServlet?id=${n.cmdyid}">
					<img  src="${pageContext.request.contextPath }${n.img}" width="170" height="170" style="display: inline-block;">
				</a>
				<p><a href="" style='color:green'>${n.cmdyname }</a></p>
				<p><font color="#FF0000">商城价：&yen;${n.price }</font></p>
			 </div>
			 
             </c:forEach>
			
			</div>
		</div>
	</body>

</html>